package com.ushio.gougouwangguo.entity.mysql;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张文凯
 * @since 2025-09-22
 */
@TableName("action_config_materials")
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActionConfigMaterials implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "action_config_materials_id", type = IdType.AUTO)
    private Integer actionConfigMaterialsId;

    /**
     * 配置id
     */
    private Integer actionConfigId;

    /**
     * 1:奖励2:消耗
     */
    private Byte actionConfigType;

    /**
     * 奖励物品id
     */
    private Integer materialsId;

    /**
     * 获得数量
     */
    private Integer amount;

    /**
     * 拥有人
     */
    private Long userId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 修改人
     */
    private Long updateUser;

    /**
     * 是否启用1是删除0是启用
     */
    private Boolean remove;


}
